package com.lmqb.dao;

import java.util.List;

import com.lmqb.bean.SysRole;

public interface SysRoleMapper {
    int deleteByPrimaryKey(Integer roleId);

    int insert(SysRole record);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(Integer roleId);

    int updateByPrimaryKeySelective(SysRole record);

    int updateByPrimaryKey(SysRole record);

	SysRole selectByName(String roleName);

	List<SysRole> selectAll(SysRole sysRole);
}